using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Outpatient.Doman.SmartClinic
{
    /// <summary>
    /// 号类实体类
    /// </summary>
    [Table("Number_category")]
    public class Number_category
    {
        /// <summary>
        /// 号类ID - 主键，自增
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Number_categoryId { get; set; }

        /// <summary>
        /// 号类名称 - 号类类型(如:普通号、专家号、特需号等)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Number_categoryName { get; set; } = string.Empty;

        /// <summary>
        /// 是否删除 - false 未删除 true已删除
        /// </summary>
        public bool IsDelete { get; set; } = false;

        // 导航属性
        public virtual ICollection<Patient_registration> Patient_registrations { get; set; } = new List<Patient_registration>();
    }
} 